Part Number Hot Search : 
N1NK80 CXA1991 IOCON6 X152M FM24CL ISL59 TLP16 CO55C
Product Description
Full Text Search
 

To Download XD100100K-01 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  part number 900-468 revision c august 2007 devicelinx? xport direct/xchip direct soc user guide
devicelinx? xport direct/xchip direct soc user guide 2 patents, copyright and trademark ? 2007, lantronix. all rights reserved. no par t of the contents of this book may be transmitted or reproduced in any form or by any means without the written permission of lantronix. printed in the united states of america. one or both of the following patents ap ply: 4,972,470 6,881,096. other patents pending. xport direct, with its patented te chnology, is a trademark of lantronix. ethernet is a trademark of xerox corporati on. unix is a registered trademark of the open group. windows 95, windows 98, windows 2000, windows nt, and windows xp are trademarks of microsoft corp . netscape is a trademark of netscape communications corporation. contacts lantronix corporate headquarters 15353 barranca parkway irvine, ca 92618, usa phone: 949-453-3990 fax: 949-453-3995 technical support online: www.lantronix.com/support sales offices for a current list of our domestic and international sales offices, go to the lantronix web site at www.lantronix.com/about/contact
devicelinx? xport direct/xchip direct soc user guide 3 disclaimer and revisions operation of this equipment in a residentia l area is likely to cause interference, in which case the user, at his or her own expense, will be required to take whatever measures may be required to correct the interference. changes or modifications to this device not explicitly approved by lantronix will void the user's authority to operate this device. date rev. firmware comments 1/07 a initial release 5/07 b 6.1 added information about product support for rs485. 8/07 c 6.5 added xchip direct information.
devicelinx? xport direct/xchip direct soc user guide 4 xchip direct firmware license agreement important- read carefully: this firmware license agr eement ("fla") is a legal agreement between the recipient (either an individual or a single entity) (?recipient?) and lantr onix inc. (?lantronix?) for the computer software (including firmware) accompanying this fla, which may include associat ed media, printed materials, and "online" or electronic documentation (collectively the "software"). an amendment or addendum to this fla may accompany the software. recipient agrees to be bound by the terms of th is fla by opening this sealed media package, installing, down loading, or otherwise usin g the software or the product in which the software may be embedded. if you do not agr ee, do not open, install or use the software or product in which it may be embedded; you may return it to your place of purchase for a full refund. grant of license. subject to the following terms and conditi ons, lantronix inc. (?lantronix?) grants to the recipient a non-exclusive, non-transferable, fully paid and royalty-free license to use the software solely in the form of the object code or binary firmware image provided. this license is not a sale . recipient may not rent, lease, or lend the software. lantronix may cancel this fla if recipient does not abide by it s terms and conditions. this license applies to updates or supplements to the original software, unless we provide other terms along with the update or supplement. this software is may only be used on lantronix xchip (lantronix pa rt numbers xcd1001000-01, xcd100100s-01 and xcd100100k- 01) products. reservation of rights. lantronix reserves all rights not expressly granted to recipient in this fla. title and copyrights to the software remain with lantronix. limitation on reverse engineering, decompilatio n, and disassembly. recipient may not reverse engineer, decompile, or disassemble the software. recipient may not copy the software or transfer it to other devices other than those specified above without the expr ess prior written consent of lantronix. upgrades. to use software identified as an upgrade, recipi ent must first be licensed for the software identified by lantronix as eligible for the upgrade. after upgrading, recipi ent may no longer use the software that formed the basis for upgrade eligibility. once installed, the software replac es the component being upgraded, and the software may be used in accordance with the terms of this fla unless addi tional terms are provided along with such upgrade. export. recipient agrees not to export or re-export the so ftware (or portions thereof) to any country, person or entity subject to u.s. export restrictions. reci pient specifically agrees not to export or re-export the software (or portions thereof ): (i) to any country subject to a u.s. embargo or trade restrict ion; (ii) to any person or ent ity who recipient knows or has reason to know will utilize the software (or portions thereof) in the software of nuclear, chemical or biological weapons; or (iii) to any person or entity who has been denied export privileges by the u.s. gover nment. if the software contains strong encryption and cannot be exported outside of the united states (including puerto rico, guam and all other territories, dependencies and possessions of the united states) or canada wi thout a u.s. commerce department export license or an applicable license exception, recipient agrees not to directly or indirectly export or re-export the software (or portions thereof), other than to canada without first obtaining an export license or determining that an exception is applicable. limited warranty. lantronix warrants that the softwar e will perform substantially in accordance with the accompanying materials for a period of ninety (90) days fr om the date of receipt. as to any defects discovered after the ninety (90) day period, there is no warr anty or condition of any kind. any supplements or updates to the software, including without limitation, any se rvice packs or hot fixes provided after the expiration of the ninety day limited warranty period (if any) are not covered by an y warranty or condition, expre ss, implied or statutory. limitation on remedies. if the software does not meet this li mited warranty, recipient?s exclusive remedy shall be, at lantronix?s option (a) return of the price paid (if any) for the so ftware, or (b) repair or replacement of the software, that d oes not meet this limited warranty and that is returned to lantronix with proof of purchase. this limited warranty is void if failure of the software has resulted from accident, abuse, misapplication, abnormal use or a virus. any replacement software will be warranted for the remainder of the original wa rranty period or thirty (30) days, whichever is longer. to exercise this remedy, contact: lantronix, attn. lantronix sale s, lantronix inc. 15353 barranca parkway, irvine, ca 92618. disclaimer of warranties. the limited warranty that appears above is the only express warranty made and is provided in lieu of any other express warranties (if any) created by any documentation or packaging. lantronix and its suppliers provide the software as is and with all faults. lantronix hereby disclaims all warranties, express, implied or statutory, including, bu t not limited to, merchantability, fitness for a particular purpose, non-infringement, titl e, quiet enjoyment, quiet possession, or correspondence to description
devicelinx? xport direct/xchip direct soc user guide 5 limitation of liability and remedies. in no even t shall lantronix or its suppliers be liable for any special, incidental, indirect, or conseque ntial damages whatsoever, damages for loss of profits or confidential or other informat ion, for business interruption, for personal injury, for loss of privacy, for failure to meet any duty including that of good faith or of reasonable care, for negligence, and for an y other pecuniary or other loss whatsoever) arising out of or in any way related to the use of or inability to use the software, the provision of or failure to provide support ser vices, or otherwise, under or in connection with any provision of this fla, even in the even t of the fault, tort (including negligence), strict liability, breach of contract or breach of warranty of lantroni x or any supplier, and even if lantronix or any supplie r has been advised of the possib ility of such damages. the entire liability of lantronix and any of its suppliers under any pr ovision of this fla for all of the foregoing shall be limite d to the greater of the amount actually paid by recipient for the software or u.s.$5.00. applicable law. if this software is acquired in the united states, this fla is governed by the laws of the state of california, without reference to any conflict of laws principles . all disputes arising out of this fla in the united states sh all be subject to the exclusive jurisdiction of the state and federal courts located in orange county, california, and the parties agree to submit to the personal and exclusive jurisdiction and ven ue of these courts. if this software is acquired in canada, unless expressly prohibited by local law, this fla is governed by the laws in force in the province of ontario, canada; and, in respect of any dispute which may arise hereunder, recipient consents to the jurisdiction of the federal and provincial courts sitting in toronto, ontario. if this software was otherwise acquired outside the united states, then local law may apply. entire agreement. this fla (including any addendum or am endment to this fla which is included with the software) is the entire agreement between recipient and lantronix rela ting to the software and the support services (if any) and supersedes all prior or contemporaneous or al or written communications, proposals and representations with respect to the software or any other subject matter covered by this fla. to the extent the terms of any lantronix policies or programs for support services conflict with the terms of this fla, the terms of this fla shall control.
devicelinx? xport direct/xchip direct soc user guide 6 contents patents, copyright and trademark ______________________________________ 2 contacts __________________________________________________________ 2 disclaimer and revisions _____________________________________________ 3 xchip direct firmware license agreement________________________________ 4 1: using this guide 10 purpose and audience ______________________________________________ 10 chapter summary __________________________________________________ 10 utilities ___________________________________________________________ 11 additional documentation ____________________________________________ 11 2: introduction 12 capabilities _______________________________________________________ 12 applications _______________________________________________________ 12 protocol support ___________________________________________________ 13 addresses and port numbers _________________________________________ 13 hardware address ______________________________________________________ 13 ip address_____________________________________________________________ 13 port numbers __________________________________________________________ 13 assigning an ip address _____________________________________________ 14 configuration methods ______________________________________________ 14 3: using deviceinstaller 15 installing deviceinstaller _____________________________________________ 15 assigning an ip address _____________________________________________ 15 accessing the xport direct using deviceinstaller __________________________ 16 viewing the current configuration______________________________________ 16 4: configuration via telnet or serial port (setup mode) 19 accessing setup mode ______________________________________________ 19 telnet connection _______________________________________________________ 19 serial port connection ___________________________________________________ 20 exiting setup mode _________________________________________________ 21 5: setup mode: server configuration 22 server configuration (option 0)________________________________________ 22 ip address ________________________________________________________ 22
contents devicelinx? xport direct/xchip direct soc user guide 7 set gateway ip address _____________________________________________ 23 netmask: number of bits for host part __________________________________ 23 change telnet configuration password _________________________________ 23 dhcp name ______________________________________________________ 24 6: setup mode: channel configuration 25 channel 1 (option 1) ________________________________________________ 25 baudrate _________________________________________________________ 25 i/f (interface) mode _________________________________________________ 26 flow_____________________________________________________________ 26 port number ______________________________________________________ 27 connect mode _____________________________________________________ 27 a) incoming connection __________________________________________________ 28 b) response ___________________________________________________________ 29 c) active startup ________________________________________________________ 29 d) datagram type _______________________________________________________ 31 e) modem mode ________________________________________________________ 31 send the escape sequence (+++) in modem mode ________________________ 34 show ip addr after 'ring' ____________________________________________ 34 auto increment source port __________________________________________ 34 remote ip address _________________________________________________ 34 remote port ______________________________________________________ 34 disconnmode _____________________________________________________ 34 flush mode (buffer flushing) _________________________________________ 35 pack control ______________________________________________________ 36 packing in terval_________________________________________________________ 37 trailing characters ______________________________________________________ 37 send characters ________________________________________________________ 37 disconntime (inactivity timeout) ______________________________________ 38 send characters ___________________________________________________ 38 telnet terminal type________________________________________________ 38 channel (port) password ____________________________________________ 38 7: setup mode: advanced settings 39 expert settings (option 5) ____________________________________________ 39 tcp keepalive time in seconds ____________________________________________ 39 arp cache timeout in seconds ____________________________________________ 39 disable monitor m ode at bootup ____________________________________________ 40 mtu size _____________________________________________________________ 40
contents devicelinx? xport direct/xchip direct soc user guide 8 enable alternate mac ____________________________________________________ 40 ethernet connect ion type _________________________________________________ 40 security settings (option 6)___________________________________________ 40 disable telnet setup_____________________________________________________ 41 disable tftp firmware upgrade ___________________________________________ 41 disable port 77fe (hex) __________________________________________________ 41 disable echo ports _____________________________________________________ 41 enable enhanced password_______________________________________________ 42 disable port 77 f0 (hex) __________________________________________________ 42 default settings (option 7) ___________________________________________ 42 channel 1 configuration defaults ___________________________________________ 42 expert settings defaults __________________________________________________ 42 security setting s defaults_________________________________________________ 43 8: gpio interface 44 configurable pins __________________________________________________ 44 features ______________________________________________________________ 44 control protocol____________________________________________________ 45 guidelines _____________________________________________________________ 45 commands ____________________________________________________________ 45 examples_________________________________________________________ 47 9: firmware upgrades 49 obtaining firmware _________________________________________________ 49 reloading firmware ________________________________________________ 49 using tftp: graphical user inte rface _______________________________________ 49 using tftp: command line interface _______________________________________ 50 recovering the firmware using the serial port and deviceinstaller ________________ 50 10: monitor mode 52 entering monitor mode us ing the serial port __________________________________ 52 entering monitor mode us ing the network port ________________________________ 52 monitor mode commands_________________________________________________ 52 11: troubleshooting 55 problems and error messages ________________________________________ 55 technical support __________________________________________________ 57 a: alternative ways to assign an ip address 58 dhcp ________________________________________________________________ 58 autoip ________________________________________________________________ 58 bootp _______________________________________________________________ 59
contents devicelinx? xport direct/xchip direct soc user guide 9 arp and telnet_________________________________________________________ 59 b: binary to hexadecimal conversions 60 converting binary to hexadecimal _____________________________________ 60 conversion table _______________________________________________________ 60 scientific ca lculator _____________________________________________________ 60
devicelinx? xport direct/xchip direct soc user guide 10 1: using this guide purpose and audience this guide covers devicelinx xport? direct device gateway module (xpd1001xxx-01 ) and the devicelinx xchip? direct soc (xcd1001xxx-01). it provides the information needed to confi gure, use and update the xport? direct firmware and is intended for oems and system integrators who are embedding the xport direct or xchip direct in their end product designs. note: the xchip direct is a deployment-ready device gateway soc coprocessor bundled with the xport direct firmware. all references to xchip direct in this document relate to the combination of the physical chip and the licensed firmware that delivers the xport direct functionality. ex100000-02r + xport direct firmware = xcd1001000-01 (xchip direct ) chapter summary the remaining chapters in this guide include: chapter description 2: introduction describes the main features of the xport direct and the protocols it supports. 3: using deviceinstaller provides information for getting your unit up and running, using deviceinstaller to assign an ip address. 4: configuration via telnet or serial port (setup mode) provides instructions for accessing setup mode (command line interface) using a telnet connection through the network or the serial port. 5: setup mode: server configuration details the network (server) settings 6: setup mode: channel configuration details the serial port settings. 7: setup mode: advanced settings details expert and security settings and explains how to reset the unit to fact ory default values. 8: gpio interface provides instructions for c onfiguring the general purpose i/o pins. 9: firmware upgrades provides instructions for obtaining the latest firmware and updating the xport direct. 10: monitor mode provides instructions for accessing and using the command line interface for monitoring the network and diagnosing problems.
1: using this guide devicelinx? xport direct/xchip direct soc user guide 11 chapter description 11: troubleshooting describes common problems and error messages and how to contact lantronix technical support. a: alternative ways to assign an ip address details additional ways to assign an ip address, for example, dhcp, arp, and bootp. b: binary to hexadecimal conversions provides instructions for converting binary numbers to hexadecimals. utilities the following utilities and related document ation are available for download on the lantronix web site www.lantronix.com : utility description com port redirector a windows-based utility to create a virtual com port. the com port redirector user guide explains how to use it. deviceinstaller a utility to configure ip addresses and locate lantronix devices on the local network. deviceinstaller's online help provides information on using it. additional documentation the following documentation is also available on the product cd and the lantronix web site ( www.lantronix.com ). document description xport direct integration guide provides information about the xport direct hardware, testing the xp ort direct using the demonstration kit, and integrating the xport direct into your product. xport direct quick start provides instructions for getting your unit up and running. xchip direct reference platform integration guide provides information about xchip direct hardware, technical specifications, and integration.
devicelinx? xport direct/xchip direct soc user guide 12 2: introduction this chapter summarizes the xport direct device networking gateway's features and the basic information needed before getting started. capabilities the xport direct connects devices through a tcp data channel or through a telnet connection to computers or other devices. the xport direct also supports udp datagrams. applications the xport direct connects serial devices such as those listed below to ethernet networks using the ip protocol family. ? personal entertainment devices ? pos devices ? atm machines ? cnc controllers ? data collection devices ? universal power supply (ups) management units ? telecommunications equipment ? data display devices ? security alarms and access control devices ? handheld instruments ? modems ? time/attendance clocks and terminals
2: introduction devicelinx? xport direct/xchip direct soc user guide 13 protocol support the xport direct uses the internet protocol (ip) for network communications. it uses the transmission control protocol (tcp) to assure that no data is lost or duplicated, and that everything sent to the connecti on arrives correctly at the target. other supported protocols include: ? arp, udp, tcp, icmp, telnet, tftp , autoip, and dhcp for network communications and management. ? tcp, udp, and telnet for connections to the serial port. ? tftp for firmware updates. ? ip for addressing, routing, and data block handling over the network. ? user datagram protocol (udp) for ty pical datagram applications in which devices interact with other devices without maintaining a point-to-point connection. addresses and port numbers hardware address the hardware address (on the label on the bottom of the unit), is also referred to as the ethernet address or the mac address. the first three bytes of the ethernet address are fixed and read 00-20-4a, identif ying the unit as a lantronix product. the fourth, fifth, and sixth bytes are unique numbers assigned to each unit. example: 00-20-4a-14-01-18 note: make note of the hardware address. it is needed to locate the unit using deviceinstaller. ip address every device connected to an ip network must have a unique ip address. this address is used to reference the specific unit. port numbers every tcp connection and every udp dat agram is defined by a destination ip address and a port number. for example, a telnet application commonly uses port number 23. a port number is similar to an extension on a phone system. the unit's serial channel (port) can be associated with a specific tcp/udp port number. port number 9999 is reserved for access to the unit's setup (configuration) mode window.
2: introduction devicelinx? xport direct/xchip direct soc user guide 14 assigning an ip address for the unit to operate correctly on a netw ork, it must have a unique ip address on the network. there are three basic me thods for assigning the ip address: deviceinstaller: assign an ip address and view t he current configuration using a graphical user interface (gui) on a pc attached to a network. (see 3: using deviceinstaller ). dhcp: by default, dynamic host configurati on protocol (dhcp) is enabled on the xport direct. dhcp allows a dhcp server to assign an ip address automatically to the xport direct. if you use dhcp, the xpo rt direct is assigned a new ip address each time it boots. serial port login: with this method, you connect a terminal or a pc running a terminal emulation program to the unit?s serial port (ch 1). configuration methods after assigning the ip address, you have two basic methods for logging into the xport direct to configure the unit further. serial & telnet ports : there are two approaches to accessing serial mode. make a telnet connection to the network port ( 9999 ) or connect a terminal (or a pc running a terminal emulation program) to the unit?s serial port. (see 4: configuration via telnet or serial port (setup mode). )
devicelinx? xport direct/xchip direct soc user guide 15 3: using deviceinstaller this chapter covers the steps for getting the xport direct online and viewing its current configuration. installing deviceinstaller to install deviceinstaller if your product comes with a cd: 1. insert the cd into your cd-rom drive. the cd autom atically starts and displays the main window. 2. if the cd does not launch automatically: a) click the start button on the task bar and select run . b) enter your cd drive letter, colon, backslash, launch.exe (e.g., d:\launch.exe). 3. click the deviceinstaller button. the installation wizard window displays. 4. respond to the installation wizard prompts. note: for more information about deviceinstaller, see the deviceinstaller online help. to install deviceinstaller from the lantronix web site: 1. download deviceinstaller for your product from the lantronix website ( www.lantronix.com/support/downloads.html) . 2. click setup.exe . the installation wizard window displays. 3. respond to the installation wizard prompts. note: for more information about deviceinstaller, see the deviceinstaller online help. assigning an ip address the unit?s ip address must be configured bef ore it can work correctly on a network. you have several options for assigning an ip to your unit. we recommend that you manually assign the ip address over the network using deviceinstaller software, which is on the product cd. note : to use a serial connection instead of an ethernet connection to configure the device, see 4: configuration via telnet or serial port (setup mode) on page 20.
3: using deviceinstaller devicelinx? xport direct/xchip direct soc user guide 16 the unit?s ip address is normally set to 0.0. 0.0 at the factory. the hardware address is on the product label. the unit is dhcp-enabled as the default. to assign an ip address manually: 1. click start ? programs ? lantronix ? deviceinstaller ? deviceinstaller. if your pc has more than one network adapter, a message displays. select an adapter and click ok . note: if the unit already has an ip address (e.g., dhcp has assigned an ip address), click the search icon and select the unit from the list of lantronix device networking gatew ays on the local network. 2. click the assign ip icon . 3. if prompted, enter the hardware addr ess (on the product label) and click next . 4. select assign a specific ip address and click next . 5. enter the ip address . the subnet mask displays automatically based on the ip address; if desired, you may change it. on a local network, you can leave the default gateway blank (all zeros). click next . 6. click the assign button and wait several seconds until a confirmation message displays. click finish . 7. select the device from the main window list and select ping from the tools menu. the ping device dialog box shows the ip address of the selected unit. 8. from the tools menu, click the ping button. the results display in the status window. click the clear status button to clear the window so you can ping the device again. note: if you do not receive ?reply? messages, make sure the unit is properly attached to the network and that the ip address assigned is valid for the particular network segm ent you are working with. if you are not sure, check with your systems administrator. 9. click the close button to close the dialog box and return to the main window. accessing the xport direct using deviceinstaller 1. click start ? programs ? lantronix ? deviceinstaller ? deviceinstaller. 2. click the xport direct folder. the list of available lantronix xport direct units displays. 3. expand the list of xport directs by clicking the + symbol next to the xport direct icon. select the xport direct unit by clicking on its ip address to view its configuration. viewing the current configuration deviceinstaller provides a view of the unit's configuration. to view the unit's current settings:
3: using deviceinstaller devicelinx? xport direct/xchip direct soc user guide 17 1. follow the instructions above to locate the xport direct. 2. in the right pane, click the device details tab. the current xport direct configuration displays. name configurable field. a name that identifies the xport direct. double-click the field, type in the value, and press enter to complete. this name is not visible on other pcs or laptops using deviceinstaller. group configurable field. a group name to categorize the xport direct. double-click the field, type in the value, and press enter to complete. this group name is not visible on other pcs or laptops using deviceinstaller. comments configurable field. information about the xport direct. double- click the field, type in the value, and press enter to complete. this description or comment is not visible on other pcs or laptops using deviceinstaller. device family non-configurable field. displ ays the xport direct?s device family type as xport. type non-configurable field. displays the device type as xport direct. id non-configurable field. displays the xport direct?s id embedded within the box. hardware address non-configurable field. display s the xport direct?s hardware (or mac) address. firmware version non-configurable field. displays the firmware currently installed on the xport direct. extended firmware version non-configurable field. displays the full version nomenclature of the firmware. online status non-configurable field. displays the xport direct?s status as online, offline, unreachable (the xport direct is on a different subnet), or busy (the xport dire ct is currently performing a task). telnet enabled non-configurable field. permits telnet sessions. telnet port non-configurable field. displays the xport direct?s port for telnet sessions. web enabled non-configurable field. displays false . maximum baud rate supported non-configurable field. displays the xport direct?s maximum baud rate. note: the xport direct may not be running at this rate. firmware upgradeable non-configurable field. displays true , indicating the xport direct?s firmware is upgradeable as newer version become available. ip address non-configurable field. displays the xport direct?s current ip address. number of cob partitions supported non-configurable field. display s the number of cob partitions supported. supports dynamic ip non-configurable field. indicates whether the current ip address on the xport direct was set manually or assigned by dhcp.
3: using deviceinstaller devicelinx? xport direct/xchip direct soc user guide 18 subnet mask non-configurable field. display s the xport direct?s current subnet mask. to change the subnet mask, see assigning an ip address on page 15. gateway non-configurable field. display s the xport direct?s current gateway. to change the gateway, see assigning an ip address on page 15. number of ports non-configurable field. display s the number of ports on the xport direct. tcp keepalive non-configurable field. displays 1-65s , the xport direct?s tcp keepalive. the default setting is 45 . supports configurable pins non-configurable field. displays true . supports email triggers non-configurable field. displays false . supports aes data stream non-configurable field. displays false . supports 485 non-configurable field. displays true . supports 920k baudrate non-configurable field. displays false . xport direct does not support baud rates up to 920 kbps. supports http server non-configurable field. displays false . supports http setup non-configurable field. displays false . supports 230k baud rate non-configurable field. displays true . supports gpio non-configurable field. displays true .
devicelinx? xport direct/xchip direct soc user guide 19 4: configuration via telnet or serial port (setup mode) you must configure the unit so that it can communicate on a network with your serial device. you can use the following procedures remotely or locally: ? use a telnet connection to configure the unit over the network. ? use a terminal or terminal emulation program to access the serial port locally. the series of prompts at which you enter configuration settings is called setup mode . note: detailed information about other setup methods is available from your lantronix sales associate. the unit?s configuration is stored in non volatile memory and is retained without power. you can change the configuration at any time. the unit performs a reset after the configuration has been changed and stored. this chapter tells you how to access setup mode and the general procedure for using it. to complete the configuration, continue with 5: setup mode: server configuration , 6: setup mode: channel configuration , and 7: setup mode: advanced settings . note: the menus in the configuration c hapters show a typical device. your device may have different configuration options. accessing setup mode telnet connection to configure the unit over the network, establish a telnet connection to port 9999 . to establish a telnet connection: 1. from the windows start menu, click run and type the following command, where x.x.x.x is the ip address, and 9999 is the unit?s fixed network configuration port number: windows: telnet x.x.x.x 9999 unix: telnet x.x.x.x:9999 2. click ok . the following information displays.
4: configuration via telnet or serial port (setup mode) devicelinx? xport direct/xchip direct soc user guide 20 figure 4-1. mac address 3. to enter setup mode, press enter within 5 seconds . the configuration settings display, followed by the change setup menu. figure 4-2. setup menu options 4. select an option on the menu by enter ing the number of the option in the your choice ? field and pressing enter . 5. to enter a value for a parameter, type the value and press enter , or to confirm a current value, just press enter . 6. when you are finished, save the new c onfiguration (option 9). the unit reboots. serial port connection to configure the unit through a serial connection: 1. connect a console terminal or pc running a terminal emulation program to your unit's serial port. the default serial port settings are 9600 baud, 8 bits, no parity, 1-stop bit, no-flow control . 2. reset the xport direct unit by cycling the unit's power (turning the power off and back on). immediately upon resetting the device, enter three lowercase x characters ( xxx ). note: the easiest way to enter setup mode is to hold down the x key at the terminal (or emulation) while resetting the unit. you must do this within three seconds of resetting the xport direct . at this point, the screen display is the same as when you use a telnet connection. to continue, go to step 4 in telnet connection , above.
4: configuration via telnet or serial port (setup mode) devicelinx? xport direct/xchip direct soc user guide 21 exiting setup mode to exit setup mode: you have two options: ? to save all changes and reboot the device, select option 9 save and exit from the change setup menu. all values are stored in nonvolatile memory. ? to exit the configuration mode with out saving any changes or rebooting. select option 8 exit without save from the change setup menu.
devicelinx? xport direct/xchip direct soc user guide 22 5: setup mode: server configuration this chapter explains how to configure the network settings. note: current values display in parentheses. server configuration (option 0) the unit?s basic network parameters display when you select server configuration (option 0 ). the ip address , set gateway ip address , and netmask fields display the current values. ip address if dhcp is not used to assign ip addresses, enter the ip address manually. the ip address must be set to a unique value in the network. enter each octet and press enter between each section. the current value displays in parentheses. ip address : (000) (000) (000) (000) _ if dhcp is used, the third octet of the ip address sets the bootp/dhcp/autoip options. the following table shows the bits you can manually configure to force the xport direct to disable autoip, dhcp, or bootp. to disable an option, set the appropriate bit. table 5-1. bootp/dhcp/autoip options options bit autoip 0 dhcp 1 bootp 2 for example, if the third octet is 0.0.5.0, the autoip and bootp options are disabled; only dhcp is enabled. (the value 5 results from adding the binary equivalents of 0 and 2.) this is the most common setting when using dhcp.
5: setup mode: server configuration devicelinx? xport direct/xchip direct soc user guide 23 set gateway ip address the gateway address, or router, allows communication to other lan segments. the gateway address should be the ip address of the router connected to the same lan segment as the unit. the gateway address must be within the local network. the default is n (no), meaning the gateway address ha s not been set. to set the gateway address, type y and enter the address. set gateway ip address (n) ? y gateway ip addr (000) (000) (000) (000)_ netmask: number of bits for host part a netmask defines the number of bits taken from the ip address that are assigned for the host part. netmask: number of bits for host part (0=default) (0) _ note: class a: 24 bits; class b: 16 bits; class c: 8 bits the unit prompts for the number of host bits to be entered, then calculates the netmask, which appears in standard decimal-dot notation (for example, 255.255.255.0) when the saved parameters display. table 5-2. standard ip network netmasks network class host bits netmask a 24 255.0.0.0 b 16 255.255.0.0 c 8 255.255.255.0 change telnet configuration password setting the telnet configuration password prevents unauthorized access to the setup menu through a telnet connection to port 9999 . the password must have four characters. change telnet config password (n) ? _ an enhanced password setting (for telnet acce ss only) of 16 characters is available under security settings (option 6) on page 40. note: you do not need a password to access the setup mode window by a serial connection.
5: setup mode: server configuration devicelinx? xport direct/xchip direct soc user guide 24 dhcp name if a dhcp server has automatically assi gned the ip address and network settings, this address does not appear in the unit?s setup mode . you can discover the unit by using monitor mode. (see 10: monitor mode .) note: when you enter monitor mode from the serial port with network connection enabled and issue the nc (network communication) command, you see the unit?s ip configuration. there are three methods for assi gning dhcp names to the unit. ? default dhcp name : if you do not change the dhcp name, and you are using an ip of 0.0.0.0, then the dhcp name defaults to cxxxxxx (xxxxxx is the last 6 digits of the mac (har dware) address shown on the label on the bottom/side of the unit). for example, if the mac address is 00-20-4a-12-34- 56, then the default dhcp name is c123456. ? custom dhcp name : you can create your own dhcp name. if you are using an ip address of 0.0.0.0, then the la st option in server configuration is change dhcp device name . this option allows you to change the dhcp name to an alphanumeric name (xport direct in our example). change dhcp device name (not set) ? (n) y enter new dhcp device name : xport direct ? numeric dhcp name: you can change the dhcp name by specifying the last octet of the ip address. when y ou use this method, the dhcp name is xport directyy where yy is what you chose for the last octet of the ip address. if the ip address you specify is 0.0.0.12, then the dhcp name is xport direct12. this method only works with 2-digit numbers (01-99).
devicelinx? xport direct/xchip direct soc user guide 25 6: setup mode: channel configuration this chapter explains how to configure the serial port. notes: ? current values display in parenthesis. ? you must enter some values in hexadecimal notation. (see a: converting binary to hexadecimal.) channel 1 (option 1) select channel 1 (option 1) from the change setup menu to define how the serial port responds to network and serial communications. the following sections describe the configurable parameters within the channel configuration menu. figure 6-1. serial port parameters baudrate the unit and attached serial device, such as a modem, must agree on a speed or baud rate to use for the serial connection. valid baud rates are 300, 600, 1200, 2400, 4800, 9600 (default), 19200, 38400, 57600, 115200, and 230400 bits per second. baudrate (9600) ? _
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 26 i/f (interface) mode the interface (i/f) mode is a bit-coded byte entered in hexadecimal notation. i/f mode (4c) ? _ note: all bit positions in the table that ar e blank represent ?don?t care? bits for that particular option, which can be set to a value of 0 or 1. table 6-1. interface mode options i/f mode option 7 6 5 4 3 2 1 0 rs-232c (1) 0 0 rs-422/485 4-wire (2) 0 1 rs-485 2-wire (2) 1 1 7 bit 1 0 8 bit 1 1 no parity 0 0 even parity 1 1 odd parity 0 1 1 stop bit 0 1 2 stop bits (1) 1 1 (1) 2 stop bits are implemented by the soft ware. this might influence performance. (2) the rts pin is used for rs485 transmitter control. the following table demonstrates how to build some common interface mode settings: table 6-2. common interface mode settings common i/f mode setting binary hex rs-232c, 8-bit, no parity, 1 stop bit 0100 1100 4c rs-232c, 7-bit, even parity, 1 stop bit 0111 1000 78 rs-485 2-wire, 8-bit, no parity, 1 stop bit 0100 1111 4f rs-422, 8-bit, odd parity, 1 stop bit 0101 1101 5d flow flow control sets the local handshaking method for stopping serial input/output. flow (00) ? _ use the following table to select flow control options:
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 27 table 6-3. flow control options flow control option hex no flow control 00 xon/xoff flow control 01 hardware handshake with rts/cts lines 02 xon/xoff pass characters to host 05 port number the setting represents the source port number in tcp connections. it is the number that identifies the channel for remote initiating connections. port no (10001) ? _ the default setting for port 1 is 10001 . the range is 1-65535, except for the following reserved port numbers: table 6-4. reserved port numbers warning: we recommend that you not use the reserved port numbers for this setting as incorrect operation may result. use port 0 for the outgoing local port to change with each connection. the port range is 50,000 to 59,999. each subsequent conne ction increments the number by 1 (it wraps back around to 50,000). only use this automatic port increment featur e to initiate a connection using tcp. set the port to a non-zero value when the unit is in a passive mode or when using udp instead of tcp. connect mode connect mode defines how the unit makes a connection, and how it reacts to incoming connections over the network. connectmode (c0) ? _ enter connect mode options in hexadecimal notation. note: all bit positions in the table that ar e blank represent ?don?t care? bits for that particular option, which can be set to a value of 0 or 1. port numbers reserved for 1 ? 1024 reserved (well known ports) 9999 telnet setup 14000-14009 reserved for redirector 30704 reserved (77f0h) 30718 reserved (77feh)
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 28 table 6-5. connect mode options connect mode option 7 6 5 4 3 2 1 0 a) incoming connection never accept incoming 0 0 0 accept with active modem control in 0 1 0 always accept 1 1 0 b) response nothing (quiet) 0 character response (c=connect, d=disconnect, n=unreachable) 1 c) active startup no active startup 0 0 0 0 with any character 0 0 0 1 with active modem control in 0 0 1 0 with a specific start character 0 0 1 1 manual connection 0 1 0 0 autostart 0 1 0 1 hostlist 0 0 1 0 d) datagram type directed udp 1 1 0 0 e) modem mode no echo 0 0 1 1 data echo & modem response (numeric) 0 1 1 1 1 data echo & modem response (verbose) 0 1 1 1 0 modem response only (numeric) 0 0 1 1 1 1 modem response only (verbose) 0 0 1 1 1 0 a) incoming connection never accept incoming rejects all external connection attempts. accept with active modem control in accepts external connection requests only when the modem control in input is asserted. cannot be used with modem mode. always accept accepts any incoming connection when a connection is not already established. default setting.
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 29 b) response character response a single character is transmitted to the serial port when there is a change in connection state: c = connected, d = disconnected, n = host unreachable. the ip address of the host connecting to the xport direct will be provided when you use verbose mode. this option is overridden when active start modem mode or active start host list is in effect. def ault setting is nothing (quiet). c) active startup no active startup does not attempt to initiate a connection under any circumstance. default setting. with any character attempts to connect when any character is received from the serial port. with active modem control in attempts to connect when the modem control in input changes from not asserted to asserted. with a specific start character attempts to connect when it receives a specific start character from the serial port. the default start character is carriage return. manual connection attempts to connect when directed by a command string received from the serial port. the first character of the command string must be a c (ascii 0x43), and the last character must be either a carriage return (ascii 0x0d) or a line feed (0x0a). no blanks or space characters may be in the command string. between the first and last command string characters must be a full or partial destination ip address and may be a destination port number. the ip address must be in st andard decimal-dot notation and may be a partial address, represent ing the least significant 1, 2, or 3 bytes of the remote ip address. the period is required between each pair of ip address numbers. if present, the port number must follow the ip address, be presented as a decimal number in the range 1-65535, and be preceded by a forward slash (ascii 0x2f). the slash separates the ip address and the port number . if you omit the port number from a command string, the internally stored remote port number starts a connection. if a partial ip address is presented in a command string, it is interpreted to be the least sign ificant bytes of the ip address and uses the internally stored remote ip address to provide the most significant bytes of the ip address. if the ip address entered is 0.0.0.0/0, the xport dir ect enters monitor mode. for example, if the remote ip address already configured in the unit is 129.1.2.3, then an ex ample command string would be c3/7. (this would connect to 129.1.2.3 and port 7.) you may also use a different ending for the connection string. for example, c50.1/23 would connect you to 129.1.50.1 and port 23.
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 30 figure 6-2. manual connection address example command string result if remote ip is 129.1.2.3 and remote port is 1234 c121.2.4.5/1 complete override; connection is started with host 121.2.4.5, port 1. c5 connects to 129.1.2.5, port 1234. c28.10/12 connects to 129.1.28.10, port 12. c0.0.0.0/0 enters monitor mode. autostart (automatic connection) if you enable autostart , the unit automatically connects to the remote ip address and remote port specified when the firmware starts. hostlist if you enable this option, the xport direct scrolls through the hostlist until it connects to a dev ice listed in the hostlist table. once it connects, the unit stops trying to connect to any others. if this connection fails, the unit continues to scroll through the table until it is able to connect to another ip in the hostlist. hostlist supports a minimum of 1 and a maximum of 12 entries. each entry contains the ip address and the port number. the hostlist is disabled for manual and modem modes. the unit does not accept a data connection from a remote device when the hostlist option is enabled. figure 4-7. hostlist option
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 31 to enable the hostlist: 1. enter a connect mode of 0x20 ( 2 x), where x is any digit. the menu shows you a list of current entries already defined in the product. 2. to delete, modify, or add an entry, select yes . if you enter an ip address of 0.0.0.0 , that entry and all others after it are deleted. 3. after completing the hostlist, repeat the previous step if necessary to edit the hostlist again. 4. for retrycounter , enter the number of times the lantronix unit should try to make a good network connection to a host list entry that it has successfully arped. the range is 1-15, with the default set to 3 . 5. for retrytimeout , enter the number of seconds the unit should wait before failing an attempted connection. the time is stored as units of milliseconds in the range of 1-65535. the default is 250 . d) datagram type directed udp when selecting this option, you are prompted for the datagram type. enter 01 for directed or broadcast udp. datagrams of type 01 can be sent as a broadcast by enabling the send as broadcast option. the default is not to broadcast. when the udp option is in effect, the unit never attempts to initiate a tcp connection because it uses udp datagrams to send and receive data. e) modem mode in modem (emulation) mode, the unit presents a modem interface to the attached serial device. it accepts at-style mode m commands and handles the modem signals correctly. normally, there is a modem connected to a local pc and a modem connected to a remote machine. a user must dial from the local pc to the remote machine, accumulating phone charges for each connection. modem mode allows you to replace modems with xport directs, and to use an ethernet connection instead of a phone call. by not having to change co mmunications applications, you avoid potentially expensive phone calls. to select modem mode, set the connect mode to c6 (no echo), d6 (echo with full verbose), d7 (echo with numeric response), cf (modem responses only, numeric response), or ce (modem responses only, full verbose). note: if the unit is in modem mode, and the serial port is idle, the unit can still accept network tcp connections to t he serial port if connect mode is set to c6 (no echo), d6 (echo with full verbose), d7 (echo with numeric response, cf (modem responses only, numeric response), or ce (modem responses only, full verbose). without echo in modem mode, echo refers to the echo of all of the characters entered in command mode; it does not mean to echo data that is transferred. quiet mode (without echo) refers to the modem not sending an answer to the commands received (or displaying what was typed).
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 32 data echo & modem response full verbose: the unit echoes modem commands and responds to a command with a message string shown in the table below. numeric response: the unit echoes modem commands and responds to a command with a numeric response. modem responses only full verbose: the unit does not echo modem commands and responds to a command with a message string shown in the table below. numeric response: the unit does not echo modem commands and responds to a command with a numeric response. table 4-11. modem mode messages message meaning full verbose ok command was executed without error. connect a network connection has been established. no carrier a network connection has been closed. ring n.n.n.n. a remote device, having ip address n.n.n.n, is connecting to this device. numeric response 0 ok 1 connected 2 ring 3 no carrier 4 error received commands must begin with the two-character sequence at and be terminated with a carria ge return character. the unit ignores any character sequence received not starting with at , and only recognizes and processes single at -style commands. the unit treats compound at commands as unrecognized commands. if the full verbose option is in effect, the unit responds to an unrecognized command string that is otherwise formatted correctly (begins with at and ends with carriage return) with the "ok" message and takes no further action. if the numeric response option is in effect, the unit responds to an unrecognized command string that is otherwise formatted correctly with the "ok" message and takes no further action. when an active connection is in effect, the unit transfers data and does not process commands received from the serial interface. when a connection is terminated or lost, the unit reverts to command mode. when an active connection is in effect, the unit terminates the connection if it receives the following sequence from the attached serial device:
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 33 ? no serial data is received for one second. ? the character sequence +++ is received, with no more than one second between each two characters. ? no serial data is received for one second after the last + character. at this time, the unit responds affirmatively per the selected echo/response mode. ? the character string ath is received, terminated with a carriage return. the unit responds affirmatively according to the selected echo/response mode and drops the network connection. the serial interface reverts to accepting command strings. if this sequence is not followed, t he unit remains in data transfer mode. 6-6. modem mode commands modem mode command function atdtx.x.x.x,pppp or atdtx.x.x.x/pppp atdtx.x.x.x:pppp makes a connection to an ip address (x.x.x.x) and a remote port number (pppp). atdtx.x.x.x makes a connection to an ip address (x.x.x.x) and the remote port number defined within the unit. atd0.0.0.0 forces the unit into monitor mode if a remote ip address and port number are defined within the unit. atd forces the unit into monitor mode if a remote ip address and port number are not defined within the unit. atdx.x.x.x makes a connection to an ip address (x.x.x.x) and the remote port number defined within the unit. ath hangs up the connection (entered as +++ath). ats0=n enables or disables connections from the network going to the serial port. n=0 disables the ability to make a connection from the network to the serial port. n=1-9 enables the ability to make a connection from the network to the serial port. n>1-9 is invalid. aten enables or disables character echo and responses. n=0 disables character echo and responses. n=1 enables character echo and responses. atvn enables numeric response or full verbose. n=0 enables numeric response. n=1 enables full verbose. note: the unit recognizes these at commands as single commands such as ate0 or atv1; it does not recognize compound commands such as ate0v.
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 34 send the escape sequence (+++) in modem mode send ?+++? in modem mode (y) ? _ disable or enable the xport direct?s abili ty to send the escape sequence. the default is y (yes) (send the escape sequence). show ip addr after 'ring' disable or enable the xport direct's ability to show the ip address after ring in modem mode. the default is y (yes), to show the ip address. auto increment source port auto increment source port (n) ? _ y (yes) auto increments the source port. the xport direct increments the port number used with each new connection. remote ip address this is the destination ip addres s used with an outgoing connection. remote ip address : (000) (000) (000) (000)_ note: this option does not display when hostlist is enabled from the connectmode prompt (see connect mode on page 27 for more information). remote port you must set the remote tcp port number for the unit to make outgoing connections. this parameter defines the port number on the target host to which a connection is attempted. remote port (0) ? _ to connect an ascii terminal to a host using the unit for login purposes, use the remote port number 23 (internet standard port number for telnet services). note: this option does not display when hostlist is enabled from the connectmode prompt (see connect mode on page 27 for more information). disconnmode this setting determines the conditions under which the unit will cause a network connection to terminate.
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 35 notes: in disconnmode (disconnect mode), modem_control_in either drops the connection or is ignored. note: all bit positions in the table that are blank represent ?don?t care? bits for that particular option, which can be set to a value of 0 or 1. table 6-7. disconnect mode options disconnect mode option 7 6 5 4 3 2 1 0 disconnect when modem control in is not asserted (6) 1 ignore modem control in 0 telnet com port cntrl and terminal type setup (1) 1 channel (port) password (2) 1 hard disconnect (3) 0 disable hard disconnect 1 state led off with connection (4) 1 disconnect with eot (^d) (5) 1 (1) the telnet com port control feature is used in conjunction with com port redirector. the unit sends the terminal type upon an outgoing connection. (2) a password is required for a connection to the serial port from the network. (3) the tcp connection closes even if the remote site does not acknowledge the disconnection. (4) when there is a network connection to or from the serial port, the state led turns off instead of blinking. (5) when ctrl+d or hex 04 is detected, the connection is dropped. both telnet com port cntrl and disconnect with eot must be enabled for disconnect with eot to function properly. ctrl+d is only detected going from the serial port to the network. (6) when modem control in transitions from a high state to a low state, the network connection to or from the serial port drops. flush mode (buffer flushing) using this parameter, you can control line handling and network buffers with connection startup and disconnect. flushmode (00) ? _ you can also select between two different packing algorithms. note: all bit positions in the table that ar e blank represent ?don?t care? bits for that particular option, which can be set to a value of 0 or 1.
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 36 table 6-8. flush mode options function 7 6 5 4 3 2 1 0 input buffer (serial to network) clear with a connection initiated from the device to the network 1 clear with a connection initiated from the network to the device 1 clear when the network connection to or from the device is disconnected 1 output buffer (network to serial) clear with a connection initiated from the device to the network 1 clear with a connection initiated from the network to the device 1 clear when the network connection to or from the device is disconnected 1 alternate packing algorithm (pack control) enable 1 pack control the packing algorithms define how and when packets are sent to the network. the standard algorithm is optimized for applications in which the unit is used in a local environment, allowing for very small delays for single characters, while keeping the packet count low. the alternate packing algor ithm minimizes the packet count on the network and is especially useful in ap plications in a routed wide area network (wan). adjusting parameters in this mode can economize the network data stream. pack control settings are enabled in flush mode. set this value to 00 if you do not need specific functions. note: all bit positions in the table that ar e blank represent ?don?t care? bits for that particular option, which can be set to a value of 0 or 1.
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 37 table 6-9. pack control options option 7 6 5 4 3 2 1 0 packing interval interval: 12 msec 0 0 interval: 52 msec 0 1 interval: 250 msec 1 0 interval: 5 sec 1 1 trailing characters none 0 0 one 0 1 two 1 0 send characters 2-byte send character sequence 1 send immediately after send chars 1 packing interval packing interval defines how long the un it should wait before sending accumulated characters. this wait period is between successive network segments containing data. for alternate packing, the default interval is 12 msec. trailing characters in some applications, crc, checksum, or other trailing ch aracters follow the end-of- sequence character; this option helps to adapt frame transmission to the frame boundary. send characters ? if 2-byte send character sequence is enabled, the unit interprets the sendchars as a 2-byte sequence; if this option is not enabled, the unit interprets them independently. ? if send immediately after characters is not set, any characters already in the serial buffer are included in the tr ansmission after a "transmit" condition is found. if this option is set, the unit sends immediately after recognizing the transmit condition (sendchar or timeout). note: a transmission might occur if status information needs to be exchanged or an acknowledgment needs to be sent.
6: setup mode: channel configuration devicelinx? xport direct/xchip direct soc user guide 38 disconntime (inactivity timeout) use this parameter to set an inactivity ti meout. the unit drops the connection if there is no activity on the serial line before the se t time expires. enter time in the format mm:ss, where m is the number of minutes and s is the number of seconds. disconntime (00:00) ?: to disable the inactivity timeout, enter 00:00 . range is 0 (disabled) to 5999 seconds (99 minutes, 59 seconds). the default is 0 . send characters enter up to two characters in hexadecimal representation in sendchar . sendchar 1 (00) ? _ sendchar 2 (00) ? _ if the unit receives a character on the se rial line that matches one of these characters, it sends the character immediately, along with any awaiting characters, to the tcp connection. this action minimizes the response time for specific protocol characters on the serial line (for exampl e, etx, eot). setting the first sendchar to 00 disables the recognition of the characters. alternatively, the unit can interpret two characters as a sequence (see pack control on page 36). telnet terminal type this parameter displays only if you enabl ed the terminal type option in disconnect mode. with this option enabled, you can use the terminal name for the telnet terminal type. enter only one name. with terminal type option enabled, the unit also reacts to the eor (end of record) and binary options, useful for applications like terminal emulation to ibm hosts. channel (port) password this parameter displays only if the c hannel (port) password option is enabled in disconnect mode. with this option enabl ed, you can set a password on the serial port.
devicelinx? xport direct/xchip direct soc user guide 39 7: setup mode: advanced settings expert settings (option 5) caution: only an expert should change these parameters. you must definitely know the consequences the changes might have. figure 7-1. expert settings the default settings are listed below: setting default tcp keepalive time in s (1s ? 65s; 0s=disable) 45 arp cache timeout in s (1s ? 600s) 600 disable monitor mode @ bootup enabled mtu size (512 ? 1400) 0 (resulting in an operational value of 1400) enable alternate mac disabled (oem use only) ethernet connection type 0 (resu lting in auto-negotiation) tcp keepalive time in seconds this option allows you to change how many seconds the unit waits during a silent connection before attempting to see if the currently connected network device is still on the network. if the unit gets no response, it drops that connection. tcp keepalive time in s (1s ? 65s; 0s=disable): (45)? _ arp cache timeout in seconds whenever the unit communicates with another device on the network, it adds an entry into its arp table. the arp cache timeout option allows you to define how many seconds (1-600) the unit will wait before timing out this table. arp cache timeout in s (1s ? 65s; 0s=disable): (600)? _
7: setup mode: advanced settings devicelinx? xport direct/xchip direct soc user guide 40 disable monitor mode at bootup this option allows you to disable all entries into monitor mode during startup, except for the ?xxx? sequence. th is prevents entry using yyy , zzz , xx1 , and yy1 key sequences (only during the bootup sequence). the default for monitor mode at bootup is n (no). (see 10: monitor mode .) disable monitor mode @ bootup (n) ? _ mtu size the maximum transmission unit (mtu) is the largest physical packet size a network can transmit for tcp and udp. enter between 512 and 1400 bytes. the default is 1400 bytes. mtu size: (1400) ? _ enable alternate mac if necessary, enable the alternate mac addr ess (if specified in the oem setup record). enable alternate mac (n) ? _ ethernet connection type the xport direct allows for the ethernet sp eed and duplex to be manually configured. enter 0 for auto-negotiation (default). to select the speed and duplex, enter one of the following: 2 (10mbit/half duplex), 3 (10mbit/full duplex), 4 (100mbit/half duplex), or 5 (100mbit/full duplex). note: manually configured speed/duplex settings only work correctly if the peer or switch also uses a static setting. if the peer is set for auto negotiation, it will not necessarily result in the correct mode. th is is a common ethernet problem and is not specific to the xport direct. ethernet connection type: (0) ? _ security settings (option 6) you can change security settings by means of telnet or serial connections. we recommend that you set security over the dedi cated network or over the serial setup to prevent eavesdropping. caution: disabling both telnet setup and port 77fe will prevent users from accessing the setup menu from the network. select 7 to configure security settings.
7: setup mode: advanced settings devicelinx? xport direct/xchip direct soc user guide 41 figure 7-2. security settings disable telnet setup note: if you choose to disable this option, keep in mind that disabling both telnet setup and port 77fe will prevent users from accessing the setup menu from the network. this setting defaults to the n (no) option. the y (yes) option disables access to setup mode by telnet (port 9999 ). it only allows access locally using the serial port of the unit. disable telnet setup (n) ? _ disable tftp firmware upgrade this setting defaults to the n (no) option. the y (yes) option disables the use of tftp to perform network firmware upgrades. with this option, you can download firmware upgrades over the serial port using deviceinstaller?s recover firmware procedure. disable tftp firmware update (n) : _ disable port 77fe (hex) note: if you choose to disable this option, keep in mind that disabling both telnet setup and port 77fe will prevent users from accessing the setup menu from the network. port 77fe is a setting that allows custom programs to configure the unit remotely. you may wish to disable this c apability for securi ty purposes. disable port 77feh (n) ? _ the default setting is the n (no) option, which enables remote configuration. you can configure the unit by using telnet or serial configuration. the y (yes) option disables remote configuration. disable echo ports this setting controls whether port 7 echoes characters it receives.
7: setup mode: advanced settings devicelinx? xport direct/xchip direct soc user guide 42 disable echo ports (y) ? _ enable enhanced password this setting defaults to the n (no) option, which allows you to set a 4-character password that protects setup mode by means of telnet. the y (yes) option allows you to set an extended securi ty password of 16-characters for protecting telnet access. enable enhanced password (y) ? _ disable port 77f0 (hex) port 77f0 allows a custom application to quer y or set the xport direct's configurable pins when they are functioning as gen eral purpose i/o (gpio). disable this capability, if desired, for security purposes. disable port 77f0h ? _ the default setting, the n (no) option, enables gpio control. the y (yes) option disables the gpio control interface. default settings (option 7) select 7 to reset the unit?s channel 1 configuration and expert settings to the default settings. the server configuration setting s for ip address, gateway ip address, and netmask remain unchanged. the configurable pins' settings also remain unchanged. the specific settings that this option changes are listed below: channel 1 configuration defaults baudrate 9600 i/f mode 4c (1 stop bit, no parity, 8 bit, rs-232c) port number 10001 connect mode c0 (always accept incoming connection; no active connection startup) send '+++' in modem mode enabled show ip addr after 'ring' enabled hostlist retry counter 3 hostlist retry timeout 250 (msec) start character for serial channel 1 0x0d (cr) all other parameters 0 expert settings defaults tcp keepalive time in s 45 arp cache timeout in s 600
7: setup mode: advanced settings devicelinx? xport direct/xchip direct soc user guide 43 disable monitor mode @ bootup no mtu size (512 ? 1400) 0 (resulting in an operational value of 1400) alternate mac disabled ( for oem use only) ethernet connection type 0 (auto-negotiate) security settings defaults disable telnet setup no disable tftp firmware update no disable port 77feh no disable echo ports yes enable enhanced password no disable port 77f0h no
devicelinx? xport direct/xchip direct soc user guide 44 8: gpio interface configurable pins the xport direct has two general purpose i/o pins, cp1 and cp2, which support the following functions: general purpose input, general purpose output, and modem control input signal. these gpio pins can control devices such as relays, servers, lights, monitor switches, sensors, and even processes such as data transfer. the modem control input (modem_control_in) functionality is supported in our standard firmware; where this functionality is incorporated into some of the channel connect/disconnect settings. with cu stom applications, the general purpose input/output functionality can be used fo r event signaling and/or triggering. you can set the functions for the two pins independently and in any combination. the initial directions (input/output) and active levels (active low or high) at boot up can also be configured through 77fe. the configurable pins' default configuration is: ? function: general purpose input ? active level: active low this chapter describes how the directions, active levels, and states can be dynamically controlled and probed through special port 77f0. note: for specific configuration inform ation contact lantronix customer support. features ? tcp and udp can be used. ? the protocol supports up to 32 gpio for future products. ? function configuration can be retrieved. ? input or output selection c an be retrieved and controlled. ? active low or high selection can be retrieved and controlled. ? active or inactive selection can be retrieved and controlled. ? 77f0 can be disabled. every change of state (active/inactive ) requires a command over tcp or udp, and thus is not very fast. if you use this por t for data transfer, the throughput is low, usually up to 1 kbps.
8: gpio interface devicelinx? xport direct/xchip direct soc user guide 45 control protocol the gpio control protocol is a simple, proprietary protocol. guidelines the gpio control protocol is described from the pc side. send means from pc to xport direct . response comes from xport direct to pc. the protocol allows for control of up to 32 gpios. how many are actually available depends on the product. xport direct has only two. the parameters are four bytes long and represent gpios 0-31, with gpio0 in bit 0 of the first byte (little endian). parameter bits for configurable pins not configured as gpios are undefined for get commands and ignored on set commands. every command consists of nine bytes: one command type of one byte and two parameters of four bytes each. command parameter 1 parameter 2 0 1 2 3 4 5 6 7 8 on some commands, one or all parameters are ignored. for udp, command type and parameters need to be in the same datagram. responses to valid commands are always five bytes long, consisting of the returned command byte and as parameters in the current or updated values. in case of an invalid command, only one byte with value 0ffh is returned. command parameter 1 0 1 2 3 4 when sending a command (tcp and udp), wait for the response before sending the next command. commands byte 0 command types 10h get functions 11h get directions (input or output) 12h get active levels (high active or low active) 13h get current states (active or not active) 19h set directions 1ah set active levels 1bh set current states there is no set functions command. since the pin?s function depends on the hardware in which the xport direct is embedded, that configuration is only allowed using 77fe. settings changed by any of the set commands are not stored and are lost when the unit is powered down or rebooted.
8: gpio interface devicelinx? xport direct/xchip direct soc user guide 46 command 10h, get functions send: no parameters response: 1 parameter bytes 1-4: functions bit x 1 means general purpose i/o available to the user. 0 means dedicated function (e.g., serial flow control, diagnostics) for configurable pin x. command 11h, get directions send: no parameters response: 1 parameter bytes 1-4: directions bit x 1 means gpio x is an output. 0 means it is an input. command 12h, get active levels send: no parameters response: 1 parameter bytes 1-4: active levels bit x 1 means gpio x is active low (0v when active, 3.3v when inactive). 0 means it is active high (3.3v when active, 0v when inactive). command 13h, get current states send: no parameters response: 1 parameter bytes 1-4: states bit x 1 means gpio x is active 0 means it is inactive. command 19h, set directions send: 2 parameters bytes 1-4: mask bit x 1 means the direction for gpio x will be updated with the value in the second parameter. 0 means the direction for that gpio will not change. bytes 5-8: new directions bit x 1 means gpio x will become an output. 0 means it will become an input. response: 1 parameter bytes 1-4: the updated directions
8: gpio interface devicelinx? xport direct/xchip direct soc user guide 47 command 1ah, set active levels send: 2 parameters bytes 1-4: mask bit x 1 means the direction for gpio x will be updated with the value in the second parameter. 0 means the active type for that gpio will not change. bytes 5-8: new active levels bit x 1 means gpio x will become active low. 0 means it will become active high. response: 1 parameter bytes 1-4: updated active levels command 1bh, set states send: 2 parameters bytes 1-4: mask bit x 1 means the state for gpio x wi ll be updated with the value in the second parameter. 0 means the state for t hat gpio will not change. bytes 5-8: new states bit x 1 means gpio x will become active. 0 means it will become inactive. response: 1 parameter bytes 1-4: updated states examples example 1: pc sends command 10h to find out which configurable pins are available as gpio. pc -> xport direct: 10h, 00h, 00h, 00h, 00h, 00h, 00h, 00h, 00h xport direct -> pc: 10h, 03h, 00h, 00h, 00h command details: 10h = command 10h 00h, 00h, 00h, 00h = ignored 00h, 00h, 00h, 00h = ignored response details: 10h = response to command 10h 03h, 00h, 00h, 00h = bits 0 and 1 are 1 cp1 and cp2 are configured as gpios. the other bits are ignored because ther e are only two configurable pins on the xport direct. example 2: pc sends command 1bh to change the current states of gpio 0 and 1. pc -> xport direct: 1bh, 01h, 00h, 00h, 00h, 00h, 00h, 00h, 00h xport direct -> pc: 1bh, 05h, 00h, 00h, 00h
8: gpio interface devicelinx? xport direct/xchip direct soc user guide 48 command details: 1bh = command 1bh 01h, 00h, 00h, 00h = the mask that det ermines which gpios will be changed. bit 0 is 1 gpio0 will be changed. bit 1 is 0 gpio1 will remain the same. 00h, 00h, 00h, 00h = the new states bit 0 is 0 gpio0 will become 0. bit 1 is ignored since it is masked out. response details: 1bh = response to command 1bh 05h, 00h, 00h, 00h = bit 0 is 1 gpio0 = 1 bit 1 is 0 gpio1 = 0 bit 2 is 1 gpio2 = 1 the other bits are ignored because ther e are only two configurable pins on the xport direct.
devicelinx? xport direct/xchip direct soc user guide 49 9: firmware upgrades obtaining firmware you can obtain the most up-to-date firmware and release notes for the unit from the lantronix web site ( www.lantronix.com ) or by using anonymous ftp ( ftp.lantronix.com ). reloading firmware to update the unit's internal operational code (*.rom), use tftp or deviceinstaller. following is a typical name for the file. check the lantronix web site for the latest versions and release notes. table 9-1. typical firmware file rom file xptd_6303.rom please refer to the deviceinstaller online help for information about reloading firmware using deviceinstaller. the other methods are discussed below. using tftp: graphical user interface to download new firmware from a computer: 1. use a tftp client to send a binary file to the unit (*.rom to upgrade the unit's internal operational code. note: tftp requires the .rom (binary) version of the unit's internal operational code. 2. in the tftp server field, enter the ip address of the unit being upgraded. 3. select upload operation and binary format. 4. enter the full path of the firmware file in the local file name field. 5. in the remote file name field, enter the current internal operational code, x7 . 6. click the upload now button to transfer the file to the unit.
9: firmware upgrades devicelinx? xport direct/xchip direct soc user guide 50 figure 9-1. tftp window after the firmware has been loaded and stored, which takes approximately 8 seconds, the unit performs a power reset. using tftp: command line interface to download new firmware from a computer: 1. enter the following from a tftp command line interface: tftp ?i put the following example demonstrates the tftp command sequence to download the .rom file. tftp ?i 192.168.1.111 put xptd_6303.rom x7 2. in the remote file name field, enter the current internal operational code. recovering the firmware using the serial port and deviceinstaller if for some reason the firmware is damaged, you can recover the firmware file by using deviceinstaller to download the *.rom file over the serial port. to recover firmware: 1. start deviceinstaller. if your pc has more than one network adapter, a message displays. select an adapter and click ok . 2. from the tools menu, select advanced/recover firmware . the serial port firmware upgrade window displays. 3. for port on pc , enter the com port on the pc that is connected to the serial port of the lantronix unit. 4. for device model , be sure the appropriate xport direct device displays.
9: firmware upgrades devicelinx? xport direct/xchip direct soc user guide 51 5. for firmware file , click the browse button and go to the location where the firmware file resides. note : make sure the unit on which you are recovering firmware is connected to this selected port on your pc. 6. click ok to download the file. 7. when prompted, reset the device. st atus messages and a progress bar at the bottom of the screen show the progress of the file transfer. when the file transfer completes, the message ? successful, click ok to close ? appears. 8. click the ok button to complete this procedure. note for more information, see recovering firmware in the deviceinstaller online help.
devicelinx? xport direct/xchip direct soc user guide 52 10: monitor mode monitor mode is a command line interface used for diagnostic purposes. there are two ways to enter monitor mode: locally using the serial port or remotely using the network. entering monitor mode us ing the serial port to enter monitor mode locally: 1. follow the same steps used for setting the serial configuration parameters (see serial port on page 20). 2. instead of typing three x keys, however: a) type zzz (or xx1 ) to enter monitor mode with network connections. b) type yyy (or yy1 ) to enter monitor mode without network connections. a 0> prompt indicates that you have successfully entered monitor mode. entering monitor mode using the network port to enter monitor mode using a telnet connection: 1. establish a telnet session to the configuration port ( 9999 ). the following message appears: 2. type m (upper case). a 0> prompt indicates that you have successfully entered monitor mode. monitor mode commands the following commands are available in monitor mode. many commands have an ip address as an optional parameter (xxx.xxx.x xx.xxx). if you enter the ip address, the command is applied to another unit with that ip address. if you do not enter the ip address, the command is executed locally. note: all commands must be in capital letters.
10: monitor mode devicelinx? xport direct/xchip direct soc user guide 53 10-1. monitor mode commands command command name function vs x.x.x.x version queries software header record (16 bytes) of unit with ip address x.x.x.x. gc x.x.x.x get configuration gets configuration of unit with ip address x.x.x.x as hex records (120 bytes). sc x.x.x.x send configuration sets configurati on of unit with ip address x.x.x.x from hex records. pi x.x.x.x ping pings unit with ip address x.x.x.x to check device status. at arp table shows the unit?s arp table entries. tt tcp connection table shows all incoming and outgoing tcp connections. nc network connection shows the unit?s ip configuration. rs reset resets the unit?s power. qu quit exits diagnostics mode. g0, g1, ....,ge, gf get configuration from memory page gets a memory page of configuration information from the device. s0, s1,...,se, sf set configuration to memory page sets a memory page of configuration information on the device. gm get mac address shows the unit's 6-byte mac address. ss set security record sets the securi ty record without the encryption key and length parameters. the entire record must still be written, but the encrypt ion-specific bytes do not need to be provided (they can be null since they are not overwritten). sa scan initiates a wireless scan if the wireless interface is enabled. reports any stations found, including bssid, ssid, and rssi. if sa is followed by a string, the string is us ed to filter ssids before reporting. if the bss does not broadcast its ssid, only the bssid and rssi are returned. ns network status reports the networ k interfaces? statuses. includes potentially negotiated para meters like speed/duplex for ethernet or encryption, or bssid and authentication for wireless interfaces of applicable lantronix products). responses to some of the comm ands are in intel hex format.
10: monitor mode devicelinx? xport direct/xchip direct soc user guide 54 note: entering any of the commands listed above generates one of the following command response codes: table 7-2. command response codes response meaning 0> ok; no error 1> no answer from remote device 2> cannot reach remote device or no answer 8> wrong parameter(s) 9> invalid command
devicelinx? xport direct/xchip direct soc user guide 55 11: troubleshooting this chapter discusses how you can diagnose and fix errors quickly without having to contact a reseller or lantronix. it helps to c onnect a terminal to the serial port while diagnosing an error to view summar y messages that may display. when troubleshooting, always ensure that the phy sical connections (power cable, network cable, and serial cable) are secure. note: some unexplained errors might be caus ed by duplicate ip addresses on the network. make sure that your unit's ip address is unique. when troubleshooting the following problems, make sure that the xport direct is powered up. confirm that you are using a good network connection. problems and error messages problem/message reason solution when you issue the arp ?s command in windows, the "arp entry addition failed: 5" message displays. your currently logged-in user does not have the correct rights to use this command on this pc. have someone from your it department log you in with sufficient rights. when you attempt to assign an ip address to the unit by the arp method, the "press enter to go into setup mode" error" (described below) message displays. now when you telnet to the xport direct, the connection fails. when you telnet to port 1 on the xport direct, you are only assigning a temporary ip address. when you telnet into port 9999 and do not press enter quickly, the xport direct reboots, causing it to lose the ip address. telnet back to port 1. wait for it to fail, then telnet to port 9999 again. make sure you press enter quickly. when you telnet to port 9999, the "press enter to go into setup mode" message displays. however, nothing happens when you press enter , or your connection is closed. you did not press enter quickly enough. you only have 5 seconds to press enter before the connection is closed. telnet to port 9999 again, but press enter as soon as you see the "press enter to go into setup mode" message.
11: troubleshooting devicelinx? xport direct/xchip direct soc user guide 56 problem/message reason solution you may have entered the ethernet address incorrectly with the arp command. confirm that the ethernet address that you entered with the arp command is correct. the ethernet address may only include numbers 0-9 and letters a-f. in windows and usually in unix, the segments of the ethernet address are separated by dashes. in some forms of unix, the ethernet address is segmented with colons. the ip address you are trying to assign is not on your logical subnet. confirm that your pc has an ip address and that it is in the same logical subnet that you are trying to assign to the xport direct. when you telnet to port 1 to assign an ip address to the xport direct, the telnet window does not respond for a long time. the xport direct may not be plugged into the network properly. make sure that the link led is lit. if the link led is not lit, then the xport direct is not properly plugged into the network. when you try to assign an ip with deviceinstaller, you get the following : "no response from device! verify the ip, hardware address and network class. please try again." the cause is most likely one of the following: the hardware address you specified is incorrect. the ip address you are trying to assign is not a valid ip for your logical subnet. you did not choose the correct subnet mask. double-check the parameters that you specified. note: you cannot assign an ip address to an xport direct through a router . the xport direct is not communicating with the serial device to which it is attached. the most likely reason is the wrong serial settings were chosen. the serial settings for the serial device and the xport direct must match. the default serial settings for the xport direct are rs-232 , 9600 baud, 8 character bits, no parity, 1 stop bit, no flow control. when you try to enter the setup mode on the xport direct using the serial port, you get no response. the issue is most likely something covered in the previous problem, or possibly, you have caps lock on. double-check everything in the problem above. confirm that caps lock is not on.
11: troubleshooting devicelinx? xport direct/xchip direct soc user guide 57 problem/message reason solution you can ping the xport direct, but not telnet to the xport direct on port 9999. there may be an ip address conflict on your network you are not telneting to port 9999. the telnet configuration port (9999) is disabled within the xport direct security settings. turn the xport direct off and then issue the following commands at the dos prompt of your computer: arp -d x.x.x.x (x.x.x.x is the ip of the xport direct). ping x.x.x.x (x.x.x.x is the ip of the xport direct). if you get a response, then there is a duplicate ip address on the network. if you do not get a response, use the serial port to verify that telnet is not disabled. technical support if you experience an error that is not describ ed in this chapter, or if you are unable to fix the error, you have the following options: to check our online knowledge base or send a question to technical support, go to http://www.lantronix.com/support . technical support europe, middle east, and africa phone: +33 (0) 1 39 30 41 72 email: eu_techsupp@lantronix.com or eu_support@lantronix.com firmware downloads, faqs, and the most up -to-date documentation are available at: www.lantronix.com/support when you report a problem, please provide the following information: ? your name, and your company name, address, and phone number ? ? ? ? ? ? ? lantronix model number ? lantronix mac number ? software version (on the first screen shown when you telnet to port 9999) ? ? ? ? ? ? description of the problem ? status of the unit when the problem occurred (please try to include information on user and network activity at the time of the problem).
devicelinx? xport direct/xchip direct soc user guide 58 a: alternative ways to assign an ip address earlier chapters describe how to assign a static ip address using deviceinstaller or setup mode (through a telnet or serial connection). this section covers other methods for assigning an ip address over the network. dhcp the unit ships with a default ip address of 0.0.0.0, which automatically enables dhcp. if a dhcp server exists on the network, it provides the unit with an ip address, gateway address, and subnet mask when the unit boots up. you can use the deviceinstaller software to search the network for the dhcp- assigned ip address and add it to the list of lantronix units retrieved. note: this dhcp address does not appear in the unit?s setup mode. you can determine your unit?s dhcp-assigned ip address in monitor mode. when you enter monitor mode from the serial port with network connection enabled and issue the nc (network communication) command, you see the unit?s ip configuration. autoip the unit ships with a default ip address of 0.0.0.0, which automatically enables auto ip within the unit. autoip is an alter native to dhcp that allows hosts to obtain an ip address automatically in smaller netw orks that may not have a dhcp server. a range of ip addresses (from 169.254.0.1 to 169.254.255.1) has been explicitly reserved for autoip-enabled devices. do not use this range of auto ip addresses over the internet. ? if your unit cannot find a dhcp serv er, and you have not manually assigned an ip address to it, the unit automatically selects an address from the autoip reserved range. then, your unit send s out a (arp) request to other nodes on the same network to see whether the selected address is being used. ? if the selected address is not in use, then the unit uses it for local subnet communication. ? ? ? if another device is using the selected ip address, the unit selects another address from the autoip range and reboots. after reboot, the unit sends out another arp request to see if the selected address is in use, and so on. autoip does not replace dhcp. the unit cont inues to look for a dhcp server on the network. if it finds a dhcp server, the unit switches to the dhcp server-provided address and reboots. note: if a dhcp server is found, but it denies the request for an ip address, the unit does not attach to the network, but waits and retries.
a: alternative ways to assign an ip address devicelinx? xport direct/xchip direct soc user guide 59 autoip can be disabled by setting the unit ?s ip address to 0.0.1.0. this setting enables dhcp but disables autoip. bootp similar to dhcp, but for smaller networks. automatically assigns the ip address for a specific duration of time. arp and telnet if the unit has no ip address, you can use address resolution protocol (arp) method from unix and windows-based system s to assign a temporary ip address. to assign a temporary ip address: 1. on a unix or windows-based host, cr eate an entry in the host's arp table using the intended ip address and the ha rdware address of the unit (on the product label on the bottom of the unit). arp -s 191.12.3.77 00:20:4a:xx:xx:xx note: for the arp command to work on windows 95, the arp table on the pc must have at least one ip address defined other than its own. 2. if you are using windows 95, type arp -a at the dos command prompt to verify that there is at least one entry in the arp table. if the local machine is the only entry, ping another ip address on your network to build a new entry in the arp table; the ip address must be a host other than the machine on which you are working. once there is at least one additional entry in the arp table, use the following command to arp an ip address to the unit: arp -s 191.12.3.77 00-20-4a-xx-xx-xx 3. open a telnet connection to port 1. the connection fails quickly, but the unit temporarily changes its ip address to the one designated in this step. telnet 191.12.3.77 1 4. open a telnet connection to port 9999, and press enter within five seconds to go into setup mode. if you wait longer than five seconds, the unit reboots. telnet 191.12.3.77 9999 note: the ip address you just set is temporary and reverts to the default value when the unit?s power is reset, unless you configure the unit with a static ip address and store the changes permanently.
devicelinx? xport direct/xchip direct soc user guide 60 b: binary to hexadecimal conversions many of the unit?s configuration procedures require assembling a series of options (represented as bits) into a complete co mmand (represented as a byte). convert the resulting binary value to a hexadecimal representation. converting binary to hexadecimal following are two simple ways to conv ert binary numbers to hexadecimals. conversion table hexadecimal digits have values ranging from 0 to f, which are represented as 0-9, a (for 10), b (for 11), etc. to convert a binary value (for example, 0100 1100) to a hexadecimal representation, the upper and lowe r four bits are treated separately, resulting in a two-digit hexadecimal number (i n this case, 4c). use the following table to convert values from binary to hexadecimal. decimal binary hex 0 0000 0 1 0001 1 2 0010 2 3 0011 3 4 0100 4 5 0101 5 6 0110 6 7 0111 7 8 1000 8 9 1001 9 10 1010 a 11 1011 b 12 1100 c 13 1101 d 14 1110 e 15 1111 f scientific calculator another simple way to convert binary to hex adecimals is to use a scientific calculator, such as the one available on window s? operating systems. for example: 1. on the windows? start menu, click programs ? accessories ? calculator . 2. on the view menu, select scientific . the scientific calculator displays. 3. select bin (binary), and type the number to convert.
b: binary to hexadecimal conversions devicelinx? xport direct/xchip direct soc user guide 61 4. click hex . the hexadecimal value displays.


▲Up To Search▲   

 
Price & Availability of XD100100K-01

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X